.topImg {
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  //background-color: #91d5ff;
  position: relative;
  transition: all 0.4s;
  //backGround:url(./../assets/img/wallpaper1.jpg)
}
//切换背景图
.imgSwitch {
  //width: ;
  position: absolute;
  z-index: 1;
  width: 32px;
  top: 40px;
  left: 40px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  span {
    font-size: 20px;
    transform-style: preserve-3d;
    height: 32px;
    line-height: 32px;
    transition: all 0.4s ease-in-out;
    perspective: 500px;
    position: relative;
    perspective-origin: 10% 10%;
  }
  //加亿点点特效
  &:hover {
    span {
      transform: scale(1.1) rotateY(180deg) translateY(-3px);
    }
  }
}
.topImg {
  position: relative;
  .topText {
    position: absolute;
    text-align: center;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
}
.mainArea {
  height: 100vh;
  width: calc(100% - 8px);
  margin: 4px auto;
  .myButtons {
    background-color: #eaeaea;
    padding: 60px;
  }
}
.anchor {
  position: fixed;
  z-index: 10;
  width: 150px;
  padding: 4px;
  border-radius: 4px;
  padding-left: 4px;
  left: 2%;
  top: 50%;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  .ant-anchor-link {
    margin: 4px 0;
    font-size: 14px;
    &:hover {
    }
  }
  .ant-anchor-link-title {
    padding-left: 10px;
    font-weight: 500;
  }
  .innerLink {
    padding-left: 2em;
  }
  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: -1;
    border-radius: 4px;
    box-shadow: 0 0 2px 3px rgba(255, 255, 255, 0.4);
  }
}
.ant-anchor-wrapper {
  overflow-y: auto;
  overflow-x: visible;
  padding-left: 4px;
}
.ant-anchor-ink::before {
  background-color: rgba(0, 0, 0, 0.4);
}
.main-title {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-weight: bold;
  font-size: 1.6em;
  position: relative;
  &:hover {
    .title-decoration {
      position: relative;
      &::after {
        position: absolute;
        cursor: pointer;
        width: 100%;
        height: 100%;
        content: "#";
        color: #000000;
      }
    }
  }
  &:hover .title-decoration:hover::after {
    color: $primary;
  }
}
